local spdlog = reload("spdlogC")
local single = reload("global.single")
single.mlog = single.mlog or {}
return function (name, prefix, sys)
    prefix = prefix or name
    local obj = single.mlog[name]
    if not obj then
        obj = spdlog.new(name, prefix)
        obj:launch()
    end
    single.mlog[name] = obj
    return obj
end
